From 2ac112d84e7318a294b1e8cea5adae2dd50c89df Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 31 Oct 2020 23:15:11 +0100 Subject: [PATCH] Comment box tweaks and SVG dropdown triangles (#13376) * Comment box tweaks and SVG dropdown triangles - Change all dropdown triangles to SVG - Bring inline review comment box closer to regular comment boxes - Enhance arc-green checkbox contrast - Minor reaction tweaks - Flexbox the diff file header * remove a border * fix type marker in arc-green * add small code padding * fix position regression and remove useless rules Co-authored-by: Lauris BH Co-authored-by: techknowlogick --- templates/admin/auth/edit.tmpl | 8 +- templates/admin/auth/new.tmpl | 2 +- templates/admin/auth/source/ldap.tmpl | 2 +- templates/admin/auth/source/oauth.tmpl | 2 +- templates/admin/auth/source/smtp.tmpl | 2 +- templates/admin/auth/source/sspi.tmpl | 2 +- templates/admin/base/search.tmpl | 2 +- templates/admin/emails/list.tmpl | 2 +- templates/admin/repo/search.tmpl | 2 +- templates/admin/user/edit.tmpl | 2 +- templates/admin/user/new.tmpl | 2 +- templates/explore/repo_search.tmpl | 2 +- templates/explore/search.tmpl | 2 +- templates/install.tmpl | 6 +- templates/repo/activity.tmpl | 2 +- templates/repo/branch_dropdown.tmpl | 2 +- templates/repo/create.tmpl | 4 +- templates/repo/diff/box.tmpl | 68 ++++++++-------- templates/repo/diff/comments.tmpl | 52 +++++++----- templates/repo/diff/compare.tmpl | 4 +- templates/repo/diff/new_review.tmpl | 2 +- templates/repo/diff/options_dropdown.tmpl | 4 +- templates/repo/diff/whitespace_dropdown.tmpl | 4 +- .../repo/issue/branch_selector_field.tmpl | 2 +- templates/repo/issue/labels/label_list.tmpl | 2 +- templates/repo/issue/list.tmpl | 16 ++-- templates/repo/issue/milestone_issues.tmpl | 12 +-- templates/repo/issue/milestones.tmpl | 2 +- templates/repo/issue/view_content.tmpl | 6 +- templates/repo/issue/view_content/pull.tmpl | 2 +- .../repo/issue/view_content/sidebar.tmpl | 4 +- templates/repo/issue/view_title.tmpl | 2 +- templates/repo/migrate/git.tmpl | 2 +- templates/repo/migrate/gitea.tmpl | 2 +- templates/repo/migrate/github.tmpl | 2 +- templates/repo/migrate/gitlab.tmpl | 2 +- templates/repo/projects/list.tmpl | 2 +- templates/repo/pulls/fork.tmpl | 2 +- templates/repo/release/list.tmpl | 2 +- templates/repo/release/new.tmpl | 2 +- templates/repo/settings/branches.tmpl | 4 +- templates/repo/settings/collaboration.tmpl | 2 +- templates/repo/settings/webhook/gitea.tmpl | 4 +- templates/repo/settings/webhook/gogs.tmpl | 2 +- templates/repo/settings/webhook/matrix.tmpl | 2 +- templates/repo/wiki/view.tmpl | 2 +- templates/user/dashboard/issues.tmpl | 2 +- templates/user/dashboard/milestones.tmpl | 2 +- templates/user/dashboard/navbar.tmpl | 2 +- templates/user/project.tmpl | 2 +- templates/user/settings/account.tmpl | 4 +- templates/user/settings/profile.tmpl | 2 +- web_src/less/_base.less | 15 ++++ web_src/less/_form.less | 15 +--- web_src/less/_repository.less | 71 +++++++--------- web_src/less/_review.less | 34 ++++---- web_src/less/themes/theme-arc-green.less | 80 +++++++++++-------- 57 files changed, 252 insertions(+), 237 deletions(-) diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index e182bbc85..24f6b37c8 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -28,7 +28,7 @@